:: : If you read on " Combination with repetition " in permutations and combinations, and also multiset, you can find a solutions to more general problems than this.
2.
Without the requirement, a same element of " X " may occur multiple times in the selection, and the result is a multiset of size " n " of elements from " X ", also called an " n "-multicombination or " n "-combination with repetition.
3.
These virtual pixels can be calculated in a particular pattern from the original pixels for a 4th-order cross-cumulant image, as it is depicted in the lower image, part A . The pattern itself arises simple from the calculation of all possible combinations of the original image pixels A, B, C and D . Here this was done by a scheme of " combinations with repetitions ".